//@charset "utf-8";
//新手引导
define(function (require, exports, module) {
	var Backbone = require('backbone');
	var userGuideModel = require('../models/userguide');

	var UserGuideView = Backbone.View.extend({
		el: '#view_div_userguide',
		initialize: function() {
			if (true === userGuideModel.isFirstOpen()) {
				this.$el.show();
			}
		},
		events : {
			'click #view_a_userguide' : 'hideUserGuide'
		},
		hideUserGuide : function () {
			this.$el.hide();
		}
	});

	module.exports = new UserGuideView();
});